aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/ecash/[id]/+layout.server.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-08-31 15:23:49 -0700
committerAdam Soltys <[email protected]>2024-08-31 15:23:49 -0700
commita89d4ee9b9bf0c15505a58803585f1847731983e (patch)
tree46098814beabc79de334898dbc4808aed8d5f329 /src/routes/(app)/ecash/[id]/+layout.server.ts
parentdf71664f20312e81134ee90ad561f55d3020ee0a (diff)
downloadcoinos-ui-a89d4ee9b9bf0c15505a58803585f1847731983e.tar.gz
coinos-ui-a89d4ee9b9bf0c15505a58803585f1847731983e.zip
typescript
Diffstat (limited to 'src/routes/(app)/ecash/[id]/+layout.server.ts')
-rw-r--r--src/routes/(app)/ecash/[id]/+layout.server.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/routes/(app)/ecash/[id]/+layout.server.ts b/src/routes/(app)/ecash/[id]/+layout.server.ts
index 0b8b2917..5de15341 100644
--- a/src/routes/(app)/ecash/[id]/+layout.server.ts
+++ b/src/routes/(app)/ecash/[id]/+layout.server.ts
@@ -1,8 +1,6 @@
-import { auth, get } from "$lib/utils";
-import { fail, redirect } from "@sveltejs/kit";
-import parse from "$lib/parse";
+import { get } from "$lib/utils";
-export async function load({ cookies, params, request, url }) {
+export async function load({ params }) {
let { id } = params;
let { token, status } = await get(`/cash/${id}`);
let { spent, total, mint, external } = status;